package com.spboot.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author guocb
 * @since 2020-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Moddletable implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "Tableid", type = IdType.AUTO)
    private Integer Tableid;

    private Integer Informationid;

    private Integer Editionid;

    private Integer Colorid;

    private Integer Priceid;

    private Integer identification;



    // 标识逻辑字段 不是表中列
    @TableField(exist = false)
    public String colorname;// 颜色
    @TableField(exist = false)
    public String versiontype;//版本
    @TableField(exist = false)
    public String pricea;//价格

    @TableField(exist = false)
    public String name;// 名字

    @TableField(exist = false)
    public String img;// 图片



    public static final String TABLEID = "Tableid";

    public static final String INFORMATIONID = "Informationid";

    public static final String EDITIONID = "Editionid";

    public static final String COLORID = "Colorid";

    public static final String PRICEID = "Priceid";

    public static final String IDENTIFICATION = "Identification";
    
}
